import request from "@/utils/requset.js";
export const apis = {
  preventionCheckTask: (params) => {
    return request({
      url: "/preventionCheckTask/getCountApp",
      method: "get",
      params,
    });
  },
  inspectionPlanTask: (params) => {
    return request({
      url: "/inspectionPlanTask/getCountApp",
      method: "get",
      params: params,
    });
  },
  preventionHiddenRegister: (params) => {
    return request({
      url: "/preventionHiddenRegister/getCountApp",
      method: "get",
      params: params,
    });
  },
  jobcount: (params) => {
    return request({
      url: "/home/job/count",
      method: "post",
      data: params,
    });
  },
  sisCount: (params) => {
    return request({
      url: "/sisApprove/get/inventory/count",
      method: "get",
      params: params,
    });
  },
  statTotal: (params) => {  // 一企一品统计数据
    return request({
      url: "/yqyp/api/storage/stat/total",
      method: "get",
      params: params,
    });
  }
};
